environment.etc.<name>.user

User name of file owner.

Only takes effect when the file is copied (that is, the mode is not symlink).

When services.userborn.enable, this option has no effect. You have to assign a uid instead. Otherwise this option takes precedence over uid.

Type
string
Default
"+0"
Declared
<nixpkgs/nixos/modules/system/etc/etc.nix>